home *** CD-ROM | disk | FTP | other *** search
/ Micromanía 92 / CDMM92_1.ISO / SOF 2 SDK / sof2sdk-101.msi / _92D6AC311BB48EBA344BBABC89DA6AB0 / _A91F804C66484180BAB9E5B8E3EA4AAF < prev    next >
Encoding:
Text File  |  2002-04-25  |  1.9 KB  |  107 lines

  1. {
  2.     \\ Violence menu
  3.  
  4.     menuDef 
  5.     {
  6.         name                "violence_menu"
  7.         visible                0
  8.         fullscreen            0
  9.         rect                50 50 432 293
  10.         focusColor            .49 .56 .27 1
  11.  
  12.         tooltipbackcolor    .49 .56 .27 1
  13.         tooltipforecolor    .12 .14 .08 1
  14.         tooltipfont            "hud"
  15.         tooltipscale        .43
  16.         tooltipdelay        500
  17.  
  18.         onOpen
  19.         {
  20.             setfocus password_field ;
  21.             setcvar  parental_password_error "  " 
  22.         }
  23.  
  24.         itemDef
  25.         {
  26.             name        window
  27.             rect        95 50 300 40
  28.             text        "Enter Parental Lock Password"
  29.             textfont    "hud"
  30.             textscale    .55
  31.             forecolor    .12 .14 .08 1
  32.             visible        1
  33.         }
  34.  
  35.         itemDef
  36.         {
  37.             name        password_field
  38.             style        WINDOW_STYLE_FILLED
  39.             type        ITEM_TYPE_PASSWORDFIELD
  40.             rect        45 100 340 40
  41.             text        ""
  42.             cvar        "ui_lock_password"
  43.             maxChars    15
  44.             textfont    "hud"
  45.             textscale    .56
  46.             textaligny    12
  47.             textalignx    5
  48.             forecolor    1 1 1 1
  49.             backcolor    0 0 0 .25
  50.             border        1
  51.             bordercolor    0 0 0 1
  52.             visible        1
  53.         }
  54.  
  55.         itemDef 
  56.         {
  57.             name        window
  58.             cvar        "parental_password_error"
  59.             textfont    "hud"
  60.             textscale    .6
  61.             rect        130 260 260 20
  62.             textalignx    2
  63.             textaligny    2
  64.             forecolor    .12 .14 .08 1
  65.             visible        1
  66.             decoration
  67.         }
  68.  
  69.         itemDef
  70.         {
  71.             name        enter_button
  72.             style        WINDOW_STYLE_FILLED
  73.             type        ITEM_TYPE_BUTTON
  74.             rect        160  180 100 30
  75.             text        "Enter"
  76.             textfont    "hud"
  77.             textscale    .53
  78.             textalignx    30
  79.             textaligny    6
  80.             border        1
  81.             bordercolor    0 0 0 1
  82.             forecolor    .12 .14 .08 1
  83.             backcolor    0 0 0 0
  84.             visible        1
  85.  
  86.             action 
  87.             { 
  88.                 play "sound/misc/menus/select.wav" ; 
  89.  
  90.                 uiScript violence_options
  91.             }
  92.             mouseEnter
  93.             {
  94.                 play "sound/misc/menus/hilite1.wav" ; 
  95.                 setitemcolor enter_button backcolor .12 .14 .08 1
  96.                 setitemcolor enter_button forecolor .49 .56 .27 1
  97.             }
  98.  
  99.             mouseExit
  100.             {
  101.                 setitemcolor enter_button forecolor .12 .14 .08 1
  102.                 setitemcolor enter_button backcolor 0 0 0 0
  103.             }
  104.         }
  105.     }
  106. }
  107.